package com.songshuai.customer.client.service;

import com.songshuai.webapi.baseapi.dto.feign.request.custminiprogram.*;
import com.songshuai.webapi.baseapi.dto.feign.response.DictionaryDto;
import com.songshuai.webapi.baseapi.dto.feign.response.custminiprogram.*;
import com.songshuai.webapi.baseapi.pojo.QueryResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author:wbl
 * @Date: 2019/3/20
 */
public interface CustMeetingService {

    //根据userId获取会议列表
    QueryResponse<List<MeetingListResDto>> getMeetingListByUserId(String customId);

    //根据userId和会议编号获取会议详情
    QueryResponse<MeetingDetailResDto> getMeetingDetail(MeetingDetailReqDto parm);

    //根据会议编号获取邀约模板
    QueryResponse<List<InvitationTemplateResDto>> getInvitationTemplateByCode(String meetingCode);

    //根据客户id和会议编号获取签到码
    QueryResponse<WxQRCodeResDto> getWxQRCode(WxQRCodeReqDto parm);

    //校验签到码
    //Boolean registerSign(Long clueguid,String meetingno,String timestamp,String hashcode);

    //签到码签到
    //Boolean QRCodeSign(QRCodeSignReqDto parm);

    //根据客户id和会议编号获取回执单
    QueryResponse<MeetingReceiptResDto> getMeetingReceipt(MeetingReceiptReqDto parm);

    //新增回执单
    QueryResponse<AddMeetingReceiptResDto> addMeetingReceipt(AddMeetingReceiptReqDto parm);

    //根据字典类型获取字典信息
    QueryResponse<List<DictionaryDto>> getDictionaryByTypeId(Integer dicType);

    //根据省市区获取车站信息
    QueryResponse<List<StationResDto>> getAreaStations(String meetingCode);

    //上传图片
    QueryResponse uploadPicture(MultipartFile file);

    //上传图片
    QueryResponse uploadPictureOss(MultipartFile file);
}
